<form action="<?php echo url::base()?>admin_popup/search_popup_sm" method="post">
<script type="text/javascript" language="javascript">
<!-- 
 
 function ShowThumb(imagepic){
  if (document.images){document.images['Image1'].src = imagepic;}   
  
}

-->
</script>
<?php
$path = 'uploads/product/';
?>
<table cellspacing="0" cellpadding="0" width="520" border="0">
    <tr><td height="5"><td></tr>
	<tr><td valign="top">
			<table cellspacing="0" cellpadding="0"width="520" border="0">
				<tr><td width="10">&nbsp;</td>
					<td vAlign="top" align="left" width="70">
					 <table cellspacing="0" cellpadding="0" width="70" border="0">
					  <tr>
					    <td valign="top">
                        <table id="TableMenu" border="0" cellpadding="5" cellspacing="5" >
						<?php if(isset($mr['products_image']) && file_exists($path.$mr['products_image'])){?>
                        <tr><td align="right" class="popmenu"  onmouseover="style.backgroundColor='#d3d3d3'"  onmouseout="style.backgroundColor='#FFFFFF' "><a href=javascript:onClick=ShowThumb('<?php echo $this->site['base_url'].'uploads/product/'.$mr['products_image']?>') ><img name="thethumb1" src='<?php echo $this->site['base_url'].'uploads/product/'.$mr['products_image']?>' border="0" width="62"></a></td></tr>
						<?php } ?>
                        <?php if(isset($mr['products_image2']) && file_exists($path.$mr['products_image2'])){?>
                        <tr><td align="right" class="popmenu"  onmouseover="style.backgroundColor='#d3d3d3'"  onmouseout="style.backgroundColor='#FFFFFF' "><a href=javascript:onClick=ShowThumb('<?php echo $this->site['base_url'].'uploads/product/'.$mr['products_image2']?>') ><img name="thethumb1" src='<?php echo $this->site['base_url'].'uploads/product/'.$mr['products_image2']?>' border="0" width="62" ></a></td></tr>
						<?php } ?>
						<?php if(isset($mr['products_image3']) && file_exists($path.$mr['products_image3'])){?><tr><td align="right" class="popmenu"  onmouseover="style.backgroundColor='#d3d3d3'"  onmouseout="style.backgroundColor='#FFFFFF' "><a href=javascript:onClick=ShowThumb('<?php echo $this->site['base_url'].'uploads/product/'.$mr['products_image3']?>') ><img name="thethumb1" src='<?php echo $this->site['base_url'].'uploads/product/'.$mr['products_image3']?>' border="0" width="62"></a></td></tr>
                        <?php } ?>
                        <?php if(isset($mr['products_image4']) && file_exists($path.$mr['products_image4'])){?><tr><td align="right" class="popmenu"  onmouseover="style.backgroundColor='#d3d3d3'"  onmouseout="style.backgroundColor='#FFFFFF' "><a href=javascript:onClick=ShowThumb('<?php echo $this->site['base_url'].'uploads/product/'.$mr['products_image4']?>') ><img name="thethumb1" src='<?php echo $this->site['base_url'].'uploads/product/'.$mr['products_image4']?>' border="0" width="62"></a></td></tr><?php } ?></table>
                        </td></tr>
						
					  <tr><td valign="bottom">		
				   </td></tr>
			         </table>				
					</td>

					<td width="1" align="right" valign="top" rowspan="0"><!-- gray line -->						
					  <table cellspacing="0" cellpadding="0" height="408" width="1" border="0"><tr>
						<td valign="top" height="5" bgcolor="#FFFFFF"></td></tr><tr><td bgColor="#cccccc" height="402" ></td>
						</tr>
					   </table></td>
						<td vAlign="top" align="center" width="400">
						   <table cellspacing="5" cellpadding="2" border="0">
						  	  <tr><td align="center" valign="top" width="400"><img id="Image1" name="Image1" src="<?php echo $this->site['base_url'].'uploads/product/'.$mr['products_image']?>" alt="" align="Top" />
								  								 
							 </td>
							   </tr>																	
							 </table>
					    </td>
				     </tr>
				     <tr><td></td><td colspan="3"  class="t10 bgtext">
			        <input type="hidden" id="mode" name="mode">			
					<input type="hidden" id="target" name="target">
					<input type="hidden" id="zoomimage" name="zoomimage" value="">							   
			        </td>

			      </tr>					
			    </table>
			          </td>
			      </tr>					
			    </table>

</form>